import request from '@/utils/request'

export const getCategory1Api = () => {
  return request({
    url: '/admin/product/getCategory1',
    method: 'get'
  })
}

export const getCategory2Api = (id) => {
  return request({
    url: `/admin/product/getCategory2/${id}`,
    method: 'get'
  })
}

export const getCategory3Api = (id) => {
  return request({
    url: `/admin/product/getCategory3/${id}`,
    method: 'get'
  })
}
